import { IpcWindow } from "@/util/IpcWindow/IpcWindow";
import { WindowName } from "@/mdesign-lib/mdesign-main.js";

export type Params = {
  projectId: string;
  exportUrl?: string;
  simOperationUrl?: string;
};

export type CloseData = {
  success: boolean;
  owner?: string;
  exportUrl?: string;
  simOperationUrl?: string;
};
export const hgsSettingWindow = new IpcWindow<Params, CloseData>(WindowName.hgsSettingWindow);
export const hgsImportWindow = new IpcWindow<Params, CloseData>(WindowName.hgsImportWindow);
export const hgsExportWindow = new IpcWindow<Params, CloseData>(WindowName.hgsExportWindow);
